package com.maiji.cloud.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class BaseDataResDto <T> extends BaseResDto{

    @ApiModelProperty(value="返回数据")
    private T data;

    public BaseDataResDto(Status status) {
        super(status);
    }

    public BaseDataResDto(Status status,String message) {
    	super(status,message);
    }

}
